package com.crazymakercircle.constants;

import java.text.DecimalFormat;
import java.text.SimpleDateFormat;

/**
 * create by 尼恩 @ 疯狂创客圈
 **/
public class ServerConstants
{

    //工作节点的父路径
    public static final String MANAGE_PATH = "/dhp/worker";
    //工作节点的路径前缀
    public static final String PATH_WORKER_PREFIX = MANAGE_PATH + "/node-";


    public static final String TASK_PATH = "/dhp/task";
    public static final String PATH_TASK_INST = TASK_PATH + "/run-";
    public static final String EMPTY = "empty";
    public static final String SNOW_FLAKE_ID = "_SNOW_FLAKE_ID_";


    public static final SimpleDateFormat SDF = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    public static final DecimalFormat DF = new DecimalFormat("0.00");

}
